# name : rpact getSampleSizeSurvival median followUpTime
# key : rpact.getSampleSizeSurvival.median.followUpTime
# contributor: Shuguang Sun
# --
getSampleSizeSurvival(
  alpha = ${1:0.025}, sided = 1,
  beta = ${2:0.1},
  thetaH0 = rpact:::C_THETA_H0_SURVIVAL_DEFAULT,
  median1 = ${3:log(2) / 10}, # Treatment
  median2 = ${4:log(2) / 7}, # Reference
  hazardRatio = NA_real_,
  followUpTime = ${5:28},
  accrualIntensity = ${6:8.3},
  accrualTime = 0,
  allocationRatioPlanned = ${7:1},
  dropoutRate1 = 0.001,
  dropoutRate2 = 0.005,
  dropoutTime = 7
)
